Package com.cisco.pt.ipc.events
Class PortEventRegistry
java.lang.Object
com.cisco.pt.ipc.events.IPCEventRegistry
com.cisco.pt.ipc.events.PortEventRegistry
An event for the IPC's PortEventRegistry values
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<PortEventListener>protected Map<String,Set<PortEventListener>> Fields inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
session, WILDCARD_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(PortEventListener listener) voidaddListener(PortEventListener listener, Port objClass) voidaddListenerFiltered(PortEventListener listener, List<String> events) voidaddSpecificListenerFiltered(PortEventListener listener, Port objClass, List<String> events) voidprocessEvent(IPCEventLTV event) voidremoveListener(PortEventListener listener) voidremoveListener(PortEventListener listener, Port objClass) voidremoveListenerFiltered(PortEventListener listener, List<String> events) voidremoveSpecificListenerFiltered(PortEventListener listener, Port objClass, List<String> events) Methods inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
deregister, deregister, register, register
-
Field Details
-
globalListeners
-
specificObjectListeners
-
-
Constructor Details
-
PortEventRegistry
-
-
Method Details
-
getClassName
- Specified by:
getClassNamein classIPCEventRegistry
-
processEvent
- Specified by:
processEventin classIPCEventRegistry- Throws:
Exception
-
addListenerFiltered
- Throws:
IOException
-
addSpecificListenerFiltered
public void addSpecificListenerFiltered(PortEventListener listener, Port objClass, List<String> events) throws IOException - Throws:
IOException
-
removeListenerFiltered
public void removeListenerFiltered(PortEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
removeSpecificListenerFiltered
public void removeSpecificListenerFiltered(PortEventListener listener, Port objClass, List<String> events) throws IOException - Throws:
IOException
-
addListener
- Throws:
IOException
-
addListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-